<template>
  <div class="container">
      <!-- App{{$store.state.user.profile.account}}
      <button @click="$store.commit('user/setUser',{account:'zhang'})">设置用户信息</button> -->
App<button @click="fn">测试request</button>
  </div>
</template>

<script>
// import request from '@/utils/request'
export default {
    name:'App',
    setup(){
        const fn=()=>{
            // 测试请求
            request('/member/profile','get',{a: 10 })
        }
        return {fn}
}
}
</script>